from random import randint
name = []
for num in range (0,100):
    name.append(randint(0,100))
print(name)
even = 0
odd = 0
for a in name:
    if a % 2 == 0:
        even += 1
    else:
        odd += 1
print("There are", even , "even numbers.")
print("There are", odd , "odd numbers.")
Min = name[0]
Max = name[0]
for x in range (1,100):
    if Min > name[x]:
        Min = name[x]
    if Max < name[x]:
        Max = name[x]
print("The maximum number is", Max)
print("The minimum number is", Min)
sum = 0
for b in name:
    sum = sum + b
print("The sum of all the value is", sum)


